<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="org.apache.commons.logging.LogFactory"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>Error Page</title>
<script src="<c:url value="/scripts/prototype.js"/>"
	type="text/javascript"></script>
<script language="javascript">
		function showDetail()
		{
			$('detail_error_msg').toggle();
		}
	</script>
</head>

<body>

<div id="content"><c:set value="${exception}" var="ee" /> <jsp:useBean
	id="ee" type="java.lang.Exception" />

<h3>System Runtime Error: <br><%=ee.getMessage()%></h3>
<br>

<button onclick="history.back();">Back</button>
<br>

<p><a href="#" onclick="showDetail();">Administrator click here
to get the detail.</a></p>

<div id="detail_error_msg" style="display: none"><pre>

<%
	ee.printStackTrace(new java.io.PrintWriter(out));
%>
</pre></div>
</div>
</body>
</html>